/**
 * File : style.css
 * Description : Style CSS des objets KTK
 * Date : 07.08.2012 12:57:34
 * 
 * This file is part of Phenix.  Phenix is free software: you can
 * redistribute it and/or modify it under the terms of the GNU General Public
 * License as published by the Free Software Foundation, version 2.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc., 51
 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 *
 * Nils Schaetti <n.schaetti@gmail.com>
**/

/*
 *******************
 * Boite de dialogue
 * dialog_box
 *******************/
 
.ktkDialogBoxBackground {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.15);
}

.ktkDialogBox {
	position: absolute;
	top: 200px;
	left: 200px;
	background-color: white;
	border: solid 1px #e5e5e5;
	padding: 7px;
	font-size: 12px;
	border-radius: 3px 3px 3px 3px;
	-webkit-box-shadow: 0 0px 6px rgba(0,0,0,0.5);
  	-moz-box-shadow: 0 0px 6px rgba(0,0,0,0.5);
  	box-shadow: 0 0px 6px rgba(0,0,0,0.5);
}

.ktkDialogBoxTitle {
	font-size: 14px;
	color: #d14836;
	font-weight: bold;
	padding-left: 4px;
	border-bottom: solid 1px #eeeeee;
	padding-bottom: 3px;
}

.ktkDialogBoxIn {
	padding-left: 4px;
	padding-top: 4px;
}

.ktkDialogBoxBottomDiv {
	padding: 6px;
}

/*
 ********************
 * Barre d'en-tête
 * header_bar
 ********************
 */
.ktkHeaderBar {
	background-color: #333;
	width: 100%;
	border-bottom: solid 1px #aaa;
	padding: 1.5px;
}

.ktkHeaderButton {
	margin-right: 0px;
	margin-left: 0px;
	font-size: 11.5px;
	font-weight: bold;
}

/*
 ******************
 * Barre de menu
 * menu_bar
 ******************
 */
.ktkMenuBar {
	background-color: #f5f5f5;
	border: solid 1px #e5e5e5;
	padding: 8px;
	height: 75px;
	-webkit-box-shadow: 0 0px 5px rgba(0,0,0,0.2);
  	-moz-box-shadow: 0 0px 5px rgba(0,0,0,0.2);
  	box-shadow: 0 0px 5px rgba(0,0,0,0.2);
}

.ktkIconBar {
	background-color: #f6f6f6;
	border: solid 1px #e5e5e5;
	border-radius: 6px 6px 6px 6px;
	height: 74px;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.ktkIconBar a {
	width: 40px;
}

.ktkIconSeparator {
	float: left;
	padding: 8px;
	border-right: solid 1px #e5e5e5;
	font-size: 11px;
	width: 45px;
}

.ktkIcon {
	float: left;
	padding: 7px;
	font-size: 11px;
	width: 45px;
}

.ktkIconImage {
	margin: 0px;
	width: 40px;
	height: 40px;
	margin-bottom: 4px;
	background-repeat: no-repeat;
}

.ktkIconImage:hover {
	margin: 0px;
	width: 40px;
	height: 40px;
	margin-bottom: 4px;
	background: #dddddd;
	background-repeat: no-repeat;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  	box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/**************
 * Vue de liste
 * list_view
 **************/
.ktkListView  {
	width: 100%;
}

.ktkListViewTr {
	font-size: 11px;
	border-bottom: solid 1px #e5e5e5;
}

.ktkListViewTr:hover {
	font-size: 11px;
	border-bottom: solid 1px #e5e5e5;
	background-color: #f5f5f5;
}

.ktkListViewTrFocus {
	font-size: 11px;
	border-bottom: solid 1px #e5e5e5;
	background-color: #eef4ff;
}

.ktkListViewTrFocus:hover {
	font-size: 11px;
	border-bottom: solid 1px #e5e5e5;
	background-color: #e4eeff;
}

.ktkListViewTrDragOver {
	font-size: 11px;
	border-bottom: solid 1px #e5e5e5;
	background-color: #ffeeee;
}

.ktkListViewTrHeader {
	font-size: 11px;
	font-weight: bold;
	color: #555;
	padding: 3px;
	border-bottom: solid 1px #e5e5e5;
}

.ktkListViewTd {
	padding: 4px;
	border-bottom: solid 1px #e5e5e5;
	color: #444;
}

.ktkListViewTd:hover {
	padding: 4px;
	border-bottom: solid 1px #e5e5e5;
	color: #222;
}

.ktkListViewTdHeader {
	padding: 4px;
	border-bottom: solid 1px #e5e5e5;
}

.ktkListViewTdSmall {
	padding: 4px;
	border-bottom: solid 1px #e5e5e5;
	color: #d14836;
	width: 18px;
}

/****************
 * Mini Toolbar
 * mini_toolbar
 ****************/
.ktkMiniToolbarButton {
	border: solid 1px #e5e5e5;
	background-color: #f5f5f5;
	width: 30px;
	height: 30px;
	background-repeat: no-repeat;
	background-position: 4px 4px;
}

.ktkMiniToolbarButton:hover {
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  	cursor: pointer;
}

.ktkMiniToolbarButtonSelected {
	border: solid 1px #e4eeff;
	background-color: #eef4ff;
	width: 30px;
	height: 30px;
	background-repeat: no-repeat;
	background-position: 4px 4px;
}

.ktkMiniToolbarButtonSelected:hover {
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  	-moz-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  	cursor: pointer;
}

.ktkMiniToolbarPageTitle {
	position: absolute;
	font-family: arial, helvetica, sans-serif;
	font-size: 20px;
	color: #d14836;
	margin: 0px;
	padding: 10px;
	width: auto;
	width: 200px;
}

.ktkMiniToolbarPageAction {
	margin-left: 220px;
	padding: 10px;
	height: 30px;
}

/*****************
 * Boutons
 ******************/
 
/* Red Buttons */
.ktkRedButton {
	float: right;
	display: inline;
	/*background-color: #d14836;*/
	background-image:linear-gradient(to bottom, #f36653, #b81600);
	background-image:-moz-linear-gradient(to bottom, #f36653, #b81600);
	background-image:-webkit-linear-gradient(to bottom, #f36653, #b81600);
	background-image:-o-linear-gradient(to bottom, #f36653, #b81600);
	background-image:-ms-linear-gradient(to bottom, #f36653, #b81600);
	background: -webkit-gradient(linear, left top, left bottom, from(#f36653), to(#b81600));
	color: white;
	font-weight: bold;
	font-size: 12px;
	text-shadow: 0 1px rgba(0,0,0,0.6);
	border: solid 1px #9f1502;
	border-radius: 2px 2px 2px 2px;
	padding: 5px;
	margin-right: 2px;
	margin-left: 2px;
	text-align: center;
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
  	-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
  	box-shadow: 0 2px 2px rgba(0,0,0,0.4);
}

/* Red buttons over */
.ktkRedButton:hover {
	background-color: #bc311e;
	border: solid 1px #9f1502;
	background-image:linear-gradient(to bottom, #b81600, #b81600);
	background-image:-moz-linear-gradient(to bottom, #b81600, #b81600);
	background-image:-webkit-linear-gradient(to bottom, #b81600, #b81600);
	background-image:-o-linear-gradient(to bottom, #b81600, #b81600);
	background-image:-ms-linear-gradient(to bottom, #b81600, #b81600);
	background: -webkit-gradient(linear, left top, left bottom, from(#b81600), to(#b81600));
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	cursor: pointer;
}

/* Blue Buttons */
.ktkBlueButton {
	float: right;
	display: inline;
	/*background-color: #4d90fe;*/
	background-image:linear-gradient(to bottom, #82b0fd, #0060ff);
	background-image:-moz-linear-gradient(to bottom, #82b0fd, #0060ff);
	background-image:-webkit-linear-gradient(to bottom, #82b0fd, #0060ff);
	background-image:-o-linear-gradient(to bottom, #82b0fd, #0060ff);
	background-image:-ms-linear-gradient(to bottom, #82b0fd, #0060ff);
	background: -webkit-gradient(linear, left top, left bottom, from(#82b0fd), to(#0060ff));
	color: white;
	font-weight: bold;
	font-size: 12px;
	text-shadow: 0 1px rgba(0,0,0,0.6);
	border: solid 1px #115fe0;
	border-radius: 2px 2px 2px 2px;
	padding: 5px;
	margin-right: 2px;
	margin-left: 2px;
	text-align: center;
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
  	-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
  	box-shadow: 0 2px 2px rgba(0,0,0,0.4);
}

/* Red buttons over */
.ktkBlueButton:hover {
	background-color: #317fff;
	border: solid 1px #054cc1;
	background-image:linear-gradient(to bottom, #2275ff, #0060ff);
	background-image:-moz-linear-gradient(to bottom, #2275ff, #0060ff);
	background-image:-webkit-linear-gradient(to bottom, #2275ff, #0060ff);
	background-image:-o-linear-gradient(to bottom, #2275ff, #0060ff);
	background-image:-ms-linear-gradient(to bottom, #2275ff, #0060ff);
	background: -webkit-gradient(linear, left top, left bottom, from(#2275ff), to(#0060ff));
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	cursor: pointer;
}

/* Green Buttons */
.ktkGreenButton {
	float: right;
	display: inline;
	/*background-color: #4d90fe;*/
	background-image:linear-gradient(to bottom, #00e31b, #00680c);
	background-image:-moz-linear-gradient(to bottom, #00e31b, #00680c);
	background-image:-webkit-linear-gradient(to bottom, #00e31b, #00680c);
	background-image:-o-linear-gradient(to bottom, #00e31b, #00680c);
	background-image:-ms-linear-gradient(to bottom, #00e31b, #00680c);
	background: -webkit-gradient(linear, left top, left bottom, from(#00e31b), to(#00680c));
	color: white;
	font-weight: bold;
	font-size: 12px;
	text-shadow: 0 1px rgba(0,0,0,0.6);
	border: solid 1px #14a414;
	border-radius: 2px 2px 2px 2px;
	padding: 5px;
	margin-right: 2px;
	margin-left: 2px;
	text-align: center;
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
  	-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
  	box-shadow: 0 2px 2px rgba(0,0,0,0.4);
}

/* Green buttons over */
.ktkGreenButton:hover {
	background-color: #317fff;
	border: solid 1px #14a414;
	background-image:linear-gradient(to bottom, #009311, #00680c);
	background-image:-moz-linear-gradient(to bottom, #009311, #00680c);
	background-image:-webkit-linear-gradient(to bottom, #009311, #00680c);
	background-image:-o-linear-gradient(to bottom, #009311, #00680c);
	background-image:-ms-linear-gradient(to bottom, #009311, #00680c);
	background: -webkit-gradient(linear, left top, left bottom, from(#009311), to(#00680c));
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	cursor: pointer;
}

/* Orange Buttons */
.ktkOrangeButton {
	float: right;
	display: inline;
	/*background-color: #4d90fe;*/
	background-image:linear-gradient(to bottom, #ff6600, #8f3900);
	background-image:-moz-linear-gradient(to bottom, #ff6600, #8f3900);
	background-image:-webkit-linear-gradient(to bottom, #ff6600, #8f3900);
	background-image:-o-linear-gradient(to bottom, #ff6600, #8f3900);
	background-image:-ms-linear-gradient(to bottom, #ff6600, #8f3900);
	background: -webkit-gradient(linear, left top, left bottom, from(#ff6600), to(#8f3900));
	color: white;
	font-weight: bold;
	font-size: 12px;
	text-shadow: 0 1px rgba(0,0,0,0.6);
	border: solid 1px #8f3900;
	border-radius: 2px 2px 2px 2px;
	padding: 5px;
	margin-right: 2px;
	margin-left: 2px;
	text-align: center;
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
  	-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.4);
  	box-shadow: 0 2px 2px rgba(0,0,0,0.4);
}

/* Orange buttons over */
.ktkOrangeButton:hover {
	background-color: #317fff;
	border: solid 1px #8f3900;
	background-image:linear-gradient(to bottom, #8f3900, #b14700);
	background-image:-moz-linear-gradient(to bottom, #8f3900, #b14700);
	background-image:-webkit-linear-gradient(to bottom, #8f3900, #b14700);
	background-image:-o-linear-gradient(to bottom, #8f3900, #b14700);
	background-image:-ms-linear-gradient(to bottom, #8f3900, #b14700);
	background: -webkit-gradient(linear, left top, left bottom, from(#8f3900), to(#b14700));
	-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	box-shadow: 0 2px 2px rgba(0,0,0,0.55);
  	cursor: pointer;
}

/*******************
 * Textboxes
 *******************/

.ktkInputText {
	border: solid 1px;
	border-color: #aaaaaa;
	border-radius: 0px 0px 0px 0px;
	background-color: #ffffff;
	color: #555555;
	height: 21px;
	font-size: 12px;
	margin: 4px;
	-webkit-border-radius: 1px;
}

.ktkInputText:hover {
	border-color: #888888;
	background-color: #fefefe;
	color: #888888;
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  	box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.ktkInputText:focus {
	border-color: #4d90fe;
	color: #4444ff;
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
  	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
  	box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}


